<?php
error_reporting(E_ALL);
define('IN_RIJLESPLANNER',1);

/*********************************************************/
/* Dashboard Web services configuration                  */
/*********************************************************/

$config['dashboard_wsdl'] = "https://dashboard.dation.nl/webservice/index.php?wsdl";

/*********************************************************/
/* Webapplication configuration                          */
/*********************************************************/

//be explicit about what time zone you intend to be in, rather than depending on the server to provide the information
date_default_timezone_set('Europe/Amsterdam');

$config['config_root'] = dirname(__FILE__) . DIRECTORY_SEPARATOR;
$config['document_root'] = dirname(__FILE__) . DIRECTORY_SEPARATOR;
// The URL to the website
$https = (isset($_SERVER['HTTPS']) && $_SERVER["HTTPS"] == "on");
$config['siteurl'] = sprintf("%s://%s%s",
    $https ? 'https' : 'http',
    $_SERVER['SERVER_NAME'],
    $https 
        ? ($_SERVER['SERVER_PORT'] == 443 ? null : ":" . $_SERVER['SERVER_PORT'])
        : ($_SERVER['SERVER_PORT'] == 80 ? null : ":" . $_SERVER['SERVER_PORT'])
);
// The base address to the site (as seen from the server root)
$config['sitebase'] = "/";
// The hostname for this site (e.g. 'rijlesplanner.nl')
$config['sitehostname'] = $config['siteurl'];
// The standard website title
$config['default_title'] = "Rijlesplanner"; 
define('PEAR_DIR','/usr/share/php/PEAR');
ini_set("include_path", ini_get("include_path").";".PEAR_DIR.";".$config['document_root']."/includes/".";".$config['document_root']."/includes/pear/;".$config['config_root']);

$config['include_dir'] = $config['document_root']."/includes";
$config['smarty_dir'] = $config['document_root']."/smarty";
$config['smarty_libs_dir'] = $config['document_root']."/smarty/libs";
$config['smarty_template_dir'] = $config['document_root']."/templates";
$config['smarty_compile_dir'] = $config['document_root']."/templates_c";
$config['smarty_plugins_dir'] = $config['document_root']."/smarty/plugins";
$config['module_dir'] = $config['document_root']."/modules";

// admin email used for reporting fatal errors etc.
$config['admin_email'] = "m.a.vanveen@dation.nl";

// Logging
$config['logging_email'] = "m.a.vanveen@dation.nl";
$config['logging_subject'] = "[Rijlesplanner] Logging message";

// The Language of the Interface (eg. english, german, spanish) 
// for the right string look for the directory name in the language subdirectory
$config['default_language'] = "dutch";
$config['default_language_string'] = "Dutch";
$config['default_country'] = "nl";
$config['default_country_string'] = "Nederland";

// Usertypes (leerling, admin, etc.)
$config['visitor_usertype'] = 0;
$config['leerling_usertype'] = 1;
$config['admin_usertype'] = 2;

/*********************************************************/
/* 			Tell-a-friend configuration			         */
/*********************************************************/

$config['tellafriend_message_maxcharacters'] = 512; // maximum number of characters in the tell-a-friend message


/*********************************************************/
/* 			Persoonlijk configuration			         */
/*********************************************************/

$config['persoonlijk_fotowijzigen_maxbytes'] = 512000; // maximum number of bytes for a photo
$config['default_leerling_photo'] = 'default_leerling_photo.gif'; // default foto for a leerling (as found in images/<template> directory)

/*********************************************************/
/* 			Blogger configuration			         */
/*********************************************************/

$config['blogID'] = "3931555607024432839";			// Het blogID bij google
$config['blogEmail'] = "rijlesplanner@dation.nl";   	// Het google account emailadres (voluit)
$config['blogPassword'] = "test1234";						// Het google account wachtwoord

$config['maxBlogResults'] = 3;									// Het maximaal aantal element dat getoond wordt (0 = oneindig)
$config['maxPeriode'] = 0;											// Toon de berichten van de afgelopen x dagen (0 = oneinding)

?>
